<?php

class Admin_View_Helper_Strlen extends Zend_View_Helper_Abstract {

    public function Strlen($str, $len) {

        return substr($str, 0, $len).''.(strlen($str)>$len?' [...]':'');
    }

}